package com.project.server.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalTime;
import java.time.LocalDateTime;

@Data
@TableName("doctor_service")
public class DoctorService {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long doctorId;
    private Boolean onlineService; // 是否开启在线咨询
    private Boolean videoService;  // 是否开启视频问诊
    private BigDecimal consultPrice; // 咨询价格
    private BigDecimal videoPrice;   // 视频问诊价格
    private LocalTime serviceStartTime; // 服务开始时间
    private LocalTime serviceEndTime;   // 服务结束时间
    private String serviceDays;         // 服务日期（周一至周日，用,分隔）
    private Integer maxDaily;           // 每日最大接诊量
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
} 